Optimizing AST Node for Java Script Compiler A lightweight Interpreter for Embedded Device
نویسندگان
چکیده
Limited memory in mobile devices presents the bottleneck to execution speed. Abstract Syntax Tree (AST) could be a better option for mobile codes as it is compiled only once. Hence, to improve the execution speed of a mobile device, AST node should be designed in such a way that it would consume less memory and improve the execution speed. In this paper, we implement AST node optimization technique for a set of frequently used operators and statements on a JavaScript compiler, such as Identifiers, Function-calls, Dot-operator and If-then-else. The desired optimization is justified by experimental results.
منابع مشابه
Trace Based Compilation in Interpreter-less Execution Environments
Trace based compilation is a technique used in managed language runtimes to detect and compile frequently executed program paths. The goal is reduced compilation time and improved code quality since only “hot” parts of methods are ever compiled. Trace compilation is well suited for interpreter based runtime environments because the control flow of an application program is highly visible and re...
متن کاملA Study of the JavaScript Compiler and Symbol Table for the Smart Cross Platform
Smart Cross Platform (SCP) is virtual machine based solution that supports various programming languages and platforms, and its aims are to support programming languages like ISO/IEC C++, Java and Objective C and smartphone platforms such as Android and iOS. Java Script is a programming language to develop HTML5 contents, and the contents are executed by interpreter which included in web browse...
متن کاملUsing NET to Capture Performance in Java-Based Software
The Java bytecode language is emerging as a software distribution standard, with major vendors committed to porting the Java run-time environment to their platforms. These first generation run-time environments rely on an interpreter, possibly extended with capabilities to cache native code for reduced interpreter overhead, to bridge the gap between the bytecode instructions and the native hard...
متن کاملOpportunities for a Truffle-based Golo Interpreter
Golo is a simple dynamically-typed language for the Java Virtual Machine. Initially implemented as a ahead-of-time compiler to JVM bytecode, it leverages invokedynamic and JSR 292 method handles to implement a reasonably efficient runtime. Truffle is emerging as a framework for building interpreters for JVM languages with self-specializing AST nodes. Combined with the Graal compiler, Truffle of...
متن کاملPICBIT: A Scheme System for the PIC Microcontroller
This paper explains the design of the PICBIT RRS Scheme system which specifically targets the PIC microcontroller family. The PIC is a popular inexpensive single-chip microcontroller for very compact embedded systems that has a ROM on the chip and a very small RAM. The main challenge is fitting the Scheme heap in only 2 kilobytes of RAM while still allowing useful applications to be run. PICBIT...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- JCP
دوره 8 شماره
صفحات -
تاریخ انتشار 2013